/*
* ECARX Technology Limited is the owner of the copyright and the trade secret of this software.
* Without permission, no one has the right to obtain, disclose or use this software in any way.
*/

package ecarx.xsf.notificationcenter.common;

import ecarx.xsf.notificationcenter.LauncherControllerApi;

/**
 * FileName: Constants.java <br>
 * Description : 智能卡片常量定义 <br>
 * Create Time: 2020/11/10 10:17 <br>
 * Update Time: 2021/8/3 14:07 <br>
 *
 * @since 1.0.0
 */
public class Constants {


    public interface IAPINAME{

        /**
         * 通知中心 API 名称
         */
        String NOTIFICATION_API = "notification_api";

        /**
         * 形象提示 API 名称
         */
        String MASCOT_API = "mascot_api";

        /**
         * 智能卡片 API 名称
         */
        String SCENE_CARD_API = "scene_card_api";
    }

    /**
     * 卡片处理状态
     */
    public interface ICardHandleStatus {

        /**
         * 卡片未处理
         */
        int STATUS_NO_HANDLE = 0;

        /**
         * 已处理
         */
        int STATUS_HANDLE = 1;
    }

    public interface ICardStyle{
        /**
         * 卡片样式
         */
        String STYLE_HEAVY = "heavy";

        /**
         * 气泡样式
         */
        String STYLE_LIGHT = "light";
    }


    /**
     * 消息已处理
     *
     * @see LauncherControllerApi#notifySceneCardStatusChange(int)
     */
    public static final int STATUS_DONE = 1;

    /**
     * 正在显示中
     *
     * @see LauncherControllerApi#notifySceneCardStatusChange(int)
     */
    public static final int STATUS_IN_SHOWING = 2;

    public interface ISceneCardInfoKey {

        String KEY_ID = "scene_card_id";

        String KEY_PACKAGE_NAME = "scene_card_package";

        String KEY_BEEP = "beep";

        String KEY_TTS = "tts";

        String KEY_SEE_SAY = "see_say";

        String KEY_TITLE = "title";

        String KEY_SUB_TITLE = "sub_title";

        String KEY_BACKGROUND = "background";

        String KEY_DETAIL_IMG = "detailImg";

        String KEY_TAG = "tag";

        String KEY_WHEN = "when";
    }

}
